/* 全局样式 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand img {
    margin-right: 10px;
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    border-bottom: none;
    background-color: #fff;
}

/* 轮播图样式 */
.carousel-item img {
    filter: brightness(0.8);
}

.carousel-caption {
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 5px;
}

/* 按钮样式 */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* 表单样式 */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 页脚样式 */
.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    padding: 20px 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px !important;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* 动态列表样式 */
.post-card {
    margin-bottom: 20px;
}

.post-card .card-body {
    padding: 20px;
}

.post-card .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.post-card .user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-card .post-content {
    margin-bottom: 15px;
}

.post-card .post-image {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 个人主页样式 */
.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
} 